<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>index.html</title>
<link href="__CSS__reset.css" type="text/css" rel="stylesheet" />
<link href="__CSS__text.css" type="text/css" rel="stylesheet" />
<link href="__CSS__layout.css" type="text/css" rel="stylesheet" />

</head>

<body>
<div class="doc">
  <div class="header">
    <div class="h68">
      <a id="logo" href="#"></a>
      <span id="help" class="png"><a href="#">帮助</a>&nbsp;&nbsp;&nbsp;<a href="#">关于</a></span>
      <ul id="nav">
        <li class="first"><a class="selected" href="<!--{:U('Admin/Index/main')}-->" target="main" onclick="return showMenu(this, 1)">管理首页</a></li>
        <li><a href="<!--{:U('Admin/Content/index')}-->" target="main" onclick="return showMenu(this,2)">内容管理</a></li>
        <li><a href="<!--{:U('Admin/Module/index')}-->" target="main" onclick="return showMenu(this,3)">模块管理</a></li>
        <li><a href="<!--{:U('Admin/Member/index')}-->" target="main" onclick="return showMenu(this,4)">会员管理</a></li>
        <li><a href="<!--{:U('Admin/Ad/index')}-->" target="main" onclick="return showMenu(this,5)">广告管理</a></li>
        <li class="last"><a href="<!--{:U('Admin/Setting/site')}-->" target="main" onclick="return showMenu(this,6)">系统设置</a></li>
      </ul>
    </div>
    <div class="h26"></div>
    <div class="h23">
      <div class="w288"><div class="face"><img src="__IMG__face.gif" width="43" height="42" /></div>当前时间：2012-07-25 17:33:28</div>
      <div class="pos">运营中心 > </div>
    </div>
  </div>
  <div class="content">
    <div class="col1 w206">
      <div class="h6"></div>
      <div class="h36">常用功能操作</div>
      <ul id="menu1" class="w193" style="display:block;">
        <li><a href="#" target="main" onclick="return setActive(this,1)">修改密码</a></li>
        <div class="h0"></div>
        <li><a href="#" target="main" onclick="return setActive(this,1)">生成首页</a></li>
        <li><a href="#" target="main" onclick="return setActive(this,1)">更新缓存</a></li>
      </ul>
      <ul id="menu2" class="w193" style="display:none;">
        <li><a href="" target="main" onClick="return setActive(this,1)">文章列表</a></li>
        <li><a href="" target="main" onClick="return setActive(this,2)">图片列表</a></li>
        <li><a href="" target="main" onClick="return setActive(this,2)">下载中心</a></li>
        <li><a href="" target="main" onClick="return setActive(this,2)">专题</a></li>
        <li><a href="" target="main" onClick="return setActive(this,2)">附件管理</a></li>
        <div class="h0"></div>
        <li><a href="" target="main" onClick="return setActive(this,2)">栏目管理</a></li>
        <li><a href="" target="main" onClick="return setActive(this,2)">模型管理</a></li>
        <div class="h0"></div>
        <li><a href="" target="main" onClick="return setActive(this,2)">推荐位管理</a></li>
      </ul>
      <ul id="menu3" class="w193" style="display:none;">
        <li><a href="" target="main" onClick="return setActive(this,1)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,2)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,3)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,4)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,5)">text</a></li>
      </ul>
      <ul id="menu4" class="w193" style="display:none;">
        <li><a href="" target="main" onClick="return setActive(this,1)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,2)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,3)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,4)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,5)">text</a></li>
      </ul>
      <ul id="menu5" class="w193" style="display:none;">
        <li><a href="" target="main" onClick="return setActive(this,1)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,2)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,3)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,4)">text</a></li>
        <li><a href="" target="main" onClick="return setActive(this,5)">text</a></li>
      </ul>
      <ul id="menu6" class="w193" style="display:none;">
        <li><a href="" target="main" onClick="return setActive(this,6)">站点配置</a></li>
        <li><a href="" target="main" onClick="return setActive(this,6)">URL规则</a></li>
        <div class="h0"></div>
        <li><a href="" target="main" onClick="return setActive(this,6)">DB数据源</a></li>
        <li><a href="" target="main" onClick="return setActive(this,6)">数据库管理</a></li>
      </ul>
    </div>
    <div class="col2"><iframe id="main" name="main" width="100%" frameborder="0" scrolling="auto" style="display:none;" src="<!--{:U('Admin/Index/main')}-->"></iframe></div>
  </div>
</div>
<div class="qz_msgbox_layer_wrap" id="q_Msgbox" style="display:none; top: 280px;">
  <span id="mode_tips_v2" style="z-index: 10000;" class="qz_msgbox_layer"></span>
</div>
<script src="__IMG__jquery-1.7.2.min.js"></script>
<script>
$(function(){
	//导航
	$("#nav li a").click(function(){$("#nav li a").removeClass("selected");$(this).addClass("selected")});
	//左边菜单
	$(".w206 ul li a").click(function(){$(".w206 ul li a").removeClass("selected");$(this).addClass("selected")});
	
	var win = $(window);
	var contentHeight = win.height()-117;
	$(".col1").height(contentHeight);
	$(".col2").height(contentHeight);
	
	win.resize(function(){
		contentHeight = win.height()-117;
		$(".col1").height(contentHeight);
		$(".col2").height(contentHeight);
		$("#main").height(contentHeight);
		if(win.width()<1016) {
			$(document.body).width(1016);	
		}else {
			$(document.body).width("auto");	
		}	
	});	
});

//show menu
function showMenu(obj,id) {
	$(".w193").hide();
	if(id==1) {
		$(".h36").text("常用功能操作");	
	}else {
		$(".h36").text(obj.innerHTML);	
	}
	$("#menu"+id).show();		
}

//reset iframe height
function setIframeHeight() {
	$("#main").height($(".col2").height());
	$("#main").show();	
}

function setActive(obj, id) {
	$("#menu"+id+" li a").removeClass("selected");
	$(obj).addClass("selected");	
}
</script>
</body>
</html>
